package com.luwak.pattern.decorator;

/**
 * @author wanggang
 * @date 2018年3月30日 上午9:50:16
 * 
 */
public class RedShapeDecorator extends ShapeDecorator {

	public RedShapeDecorator(Shape decoratedShape) {
		super(decoratedShape);
	}
	
	public void draw() {
		decoratedShape.draw();
		setRedBorder(decoratedShape);
	}
	
	private void setRedBorder(Shape decoratedShape){
		System.out.println("Border Color: Red");
	}

}
